package org.fixies.spreadsheet.converter;

import org.fixies.spreadsheet.Sheet;
import org.fixies.utils.Validator;


public abstract class AbstractSheetConverter<T> implements SheetConverter<T> {

    private Sheet sheet;

    public void setSheet(Sheet sheet) {
        Validator.notNull(sheet);
        this.sheet = sheet;
    }

    protected Sheet getSheet() {
        return sheet;
    }
}
